package com.coolwar.design.proxy.dynamic.feign;


public class Test {

    public static void main(String[] args) {
        ProxyFactory<ObjectFeignClient> objectProxyFactory = new ProxyFactory<>(ObjectFeignClient.class);
        ObjectFeignClient objectFeignClient = objectProxyFactory.newInstance();
        Object check = objectFeignClient.check("guid1", "reqId2", "jsonInfo3");
        System.out.println("动态代理调用没有实现类接口方法返回：" + check);
    }

}
